package com.bdqn.t296.noso.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.t296.noso.entity.Lrecord;
import com.bdqn.t296.noso.entity.Pay;
import com.bdqn.t296.noso.entity.Register;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface LpayService {

    int updPay(Register register);
    int addPay(Register register);
    IPage<Pay> selPays(Page<Pay> page, @Param(Constants.WRAPPER) QueryWrapper<Pay> userQueryWrapper);
    public List<Lrecord> selSurplus(Lrecord lrecord);

}

